﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Logistics.Apply
{
    public class InvoiceDto
    {
        public int Id { get; set; }
        /// <summary>
        /// 发票号
        /// </summary>
        public string InvoiceNo { get; set; }
        /// <summary>
        /// 开票单位
        /// </summary>
        public string InvoicingOffice { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string ClerkName { get; set; }
        /// <summary>
        /// 发票类型
        /// </summary>
        public string InvoiceType { get; set; }
        /// <summary>
        /// 发票金额
        /// </summary>
        public int InvoicePrice { get; set; }
        /// <summary>
        /// 税率
        /// </summary>
        public decimal taxRate { get; set; }
        /// <summary>
        /// 税额
        /// </summary>
        public decimal TaxAmount { get; set; }
        /// <summary>
        /// 开票日期
        /// </summary>
        public DateTime InvoiceTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public int Preparer { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        [NotMapped]
        public string Name { get; set; }
    }
}
